<?php require VIEWPATH. "cms". DIRECTORY_SEPARATOR. 'header.php'?>
<div class="Sbanner" style="background-image:url(<?=$cmsInfo['cms_category_banner']?>)">
  	<div class="container valign relative">
    	<p>联系我们</p>
  	</div>
</div>
<div class="ab_top">
  	<div class="container ">
	    <div class="row clearfix">
	    	<div class="col-xs-12 col-md-8">
		        <div class="ab_type">
		          	<ul></ul>
		        </div>
	      	</div>
	      	<div class="col-xs-12 col-md-4 hidden-xs hidden-sm">
	        	<div class="location">
	        		<a href="<?=web_url('cms/index/'). $cmsInfo['cms_token']?>">主页</a> &gt; 
	        		<a href="<?=web_url('cms/contact/'). $cmsInfo['cms_token']?>">联系我们</a>
	        	</div>
	      	</div>
	    </div>
  	</div>
</div>
<div class="ab_content">
  	<div class="container ">
	    <div class="note_content"> 
	      	<!-- 联系我们 -->
	      	<div class="row clearfix">
		        <div class="col-xs-12 col-md-7">
		          	<div id="map" style="height: 400px"></div>
		        </div>
		       	<div>
			        <div class="col-xs-12 col-md-5">
			          	<div class="contact">
			            	<h3><?=$schoolInfo['school_name']?></h3>
							<p>地址：<?=$cmsInfo['cms_address']?></p>
							<p>电话：<?=$cmsInfo['cms_mobile']?></p>
			          	</div>
			        </div>
		      </div>
	    	</div>
	  	</div>
	</div>
</div>
<?php require VIEWPATH. "cms". DIRECTORY_SEPARATOR. 'footer.php'?>
<script src="<?=$staticUrl?>assets/cms/jquery-1.js" type="text/javascript"></script> 
<script src="<?=$staticUrl?>assets/cms/bootstrap.js"></script> 
<script src="<?=$staticUrl?>assets/cms/common.js" type="text/javascript"></script>
<script charset="utf-8" src="https://map.qq.com/api/js?v=2.exp&key=FZTBZ-CRXW6-E6DSR-MTI7V-ZSOHK-FJFBQ"></script>
<script type="text/javascript">
	$(function(){
		// 设置中心店
		var center = new qq.maps.LatLng(<?=$cmsInfo['cms_position']?>)
		// 地图初始化
		var map = new qq.maps.Map(document.getElementById("map"), {
	        center: center,
	        zoom: 13
	    });
	    // 标注
	    var marker = new qq.maps.Marker({
	        position: center,
	        map: map
	    });
	})
</script>

</body>
</html>